package com.googlecode.cswish.service;

import java.util.List;
import java.util.Map;

import com.googlecode.cswish.annotation.ParamScope;
import com.googlecode.cswish.annotation.ScopeValue;

public class BizTestService {

	public String test1(String name) {
		return name;
	}
	
	public String test2(String name, boolean index) {
		return name;
	}
	
	public void test3() {
		
	}
	
	@ParamScope(scope=ScopeValue.SESSION)
	public Object test4(@ParamScope(value="#fn.newModel()") Object model, 
			int pageNo, boolean newSearch) {
		return model;
	}
	
	public List<String> test5(String s1, Map<String, List<String>> s2) {
		return null;
	}
}